package ncme.auto.framework.core.mapper.enums;

public enum CustomSqlMethod {

    SELECT_SINGLE_FIELD("selectSingleFiledValue","获取单一列属性","<script>%s SELECT %s FROM %s %s %s\n</script>");

    private final String method;
    private final String desc;
    private final String sql;

    CustomSqlMethod(String method, String desc, String sql) {
        this.method = method;
        this.desc = desc;
        this.sql = sql;
    }

    public String getMethod() {
        return method;
    }

    public String getDesc() {
        return desc;
    }

    public String getSql() {
        return sql;
    }
}
